package cn.study.service.impl;

import cn.study.entity.StudyFavorite;
import cn.study.mapper.StudyFavoriteMapper;
import cn.study.service.StudyFavoriteService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author qiao
 * @since 2020-07-13
 */
@Service
public class StudyFavoriteServiceImpl extends ServiceImpl<StudyFavoriteMapper, StudyFavorite> implements StudyFavoriteService {

    @Resource
    StudyFavoriteMapper studyFavoriteMapper;

    @Override
    public List<StudyFavorite> getlist(Integer id) {
        return studyFavoriteMapper.getlist(id);
    }
}
